/*! @file decryptdlg.cpp
 * @brief Implements DeCryptDlg Class
 * @date 17.07.2012
 */

#include "decryptdlg.h"

/** @brief DeCryptDlg Constructor
 * @callgraph
 * @callergraph
 */
DeCryptDlg::DeCryptDlg(QWidget *parent) :
    QDialog(parent)
{
    setupUi(this);

    connect(decryptCopyPushButton_1, SIGNAL(clicked()),
            this, SLOT(copy1()));
    connect(decryptCopyPushButton_2, SIGNAL(clicked()),
            this, SLOT(copy2()));
    connect(decryptCopyPushButton_3, SIGNAL(clicked()),
            this, SLOT(copy3()));
}


/** @brief copy text to clipboard
 * @callgraph
 * @callergraph
 */
void DeCryptDlg::copy1()
{
    decryptLineEdit_1->selectAll();
    decryptLineEdit_1->copy();
    decryptLineEdit_1->deselect();
}


/** @brief copy text to clipboard
 * @callgraph
 * @callergraph
 */
void DeCryptDlg::copy2()
{
    decryptLineEdit_2->selectAll();
    decryptLineEdit_2->copy();
    decryptLineEdit_2->deselect();
}

/** @brief copy text to clipboard
 * @callgraph
 * @callergraph
 */
void DeCryptDlg::copy3()
{
    decryptLineEdit_3->selectAll();
    decryptLineEdit_3->copy();
    decryptLineEdit_3->deselect();
}

